#ifndef REQUESTCONTENTHELPER_H
#define REQUESTCONTENTHELPER_H

#include "define.h"

#include <QString>

class RequestContentHelper {
public:
    RequestContentHelper() = delete;
    virtual ~RequestContentHelper() = default;

    static QString generateRequestContent(const QString& url, const QMap<QString, QString>& paramsWithKey);
    static QString generateSalt();
    static QString generateSign(const QString& stringToSign);

    static Language languageStringToType(const QString& languageString);
    static QString languageTypeToString(Language languageType);

private:
    static QString generateParamsContent(const QMap<QString, QString>& paramsWithKey);
};

#endif // REQUESTCONTENTHELPER_H
